﻿<!DOCTYPE HTML>
<html>
<head th:include="fragments/_header :: _head('用户日消费汇总')">
</head>
<body>
<div class="page-container">
	<div class="cl pd-5 bg-1 bk-gray">
		<span class="l">
		</span>
		<span class="r">共有数据：<strong th:text="${page.total}">0</strong> 条</span>
	</div>
	<div class="text-c mt-20">
		<form action="/statistics/cost/day" id="searchForm">
			<input type="hidden" name="page" id="page" th:value="${page.current}">
			<input type="text" id="dateStr" name="dateStr" th:value="${dateStr}" onclick="WdatePicker({dateFmt:'yyyy/MM/dd'})"/>
			<button type="submit" class="btn btn-success" id="" name=""><i class="Hui-iconfont">&#xe665;</i> 搜索</button>
		</form>
	</div>
	<div class="dataTables_wrapper no-footer  mt-20">
		<table class="table table-border table-bordered table-bg">
			<thead>
				<tr>
					<th scope="col" colspan="4">用户日消费汇总列表</th>
				</tr>
				<tr class="text-c">
					<th width="50">用户ID</th>
					<th width="150">用户名</th>
					<th width="150">消费</th>
					<th width="130">时间</th>
				</tr>
			</thead>
			<tbody>
				<tr class="text-c"  th:each="day:${page.records}">
					<td th:text="${day.userId}">history</td>
					<td th:text="${day.username}">history</td>
					<td th:text="${day.cost}">history</td>
					<td  th:text="${day.dateStr}">2014-6-11 11:11:42</td>
				</tr>
			</tbody>
		</table>
		<div th:replace="fragments/_page :: pageBar(${page})"></div>
		<div th:replace="fragments/_page :: pagination(${page})"></div>
	</div>
</div>
<div th:include="fragments/_footer :: _footer"></div>
<script th:replace="fragments/_page :: pageScript"></script>
<script type="text/javascript" src="/lib/datatables/1.10.0/jquery.dataTables.min.js"></script>
<script language="javascript" type="text/javascript" src="/lib/My97DatePicker/4.8/WdatePicker.js"></script>
</body>
</html>